projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b3307b
)
GtkStyleContext: invalidate icon caches when resetting widgets
author
Carlos Garcia Campos
<cgarcia@igalia.com>
Fri, 3 Dec 2010 13:09:35 +0000
(14:09 +0100)
committer
Carlos Garnacho
<carlosg@gnome.org>
Sat, 4 Dec 2010 14:39:56 +0000
(15:39 +0100)
gtk/gtkstylecontext.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstylecontext.c
b/gtk/gtkstylecontext.c
index d4f5db3dd8aedfa008af86f7a0d8e69795dd8367..b8d8c992e7e0d754aa648b329405fcaef089b973 100644
(file)
--- a/
gtk/gtkstylecontext.c
+++ b/
gtk/gtkstylecontext.c
@@
-33,6
+33,7
@@
#include "gtksymboliccolor.h"
#include "gtkanimationdescription.h"
#include "gtktimeline.h"
+#include "gtkiconfactory.h"
/**
* SECTION:gtkstylecontext
@@
-1332,6
+1333,8
@@
gtk_style_context_reset_widgets (GdkScreen *screen)
{
GList *list, *toplevels;
+ _gtk_icon_set_invalidate_caches ();
+
toplevels = gtk_window_list_toplevels ();
g_list_foreach (toplevels, (GFunc) g_object_ref, NULL);